package com.ndood.spring.boot.repository.es;


import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import com.ndood.spring.boot.domain.es.EsBlog;

/**
 * EsBlogRepository接口
 * @author qilongfei
 *
 */
public interface EsBlogRepository extends ElasticsearchRepository<EsBlog, String>{
	
	Page<EsBlog> findDistinctEsBlogByTitleContainingOrSummaryContaining(String title,String summary,String content,Pageable pageable);

}
